// enum DropDownType { current, another }

import 'package:flutter/material.dart';

class DropdownMenuController extends ChangeNotifier {
  double dropDownHeaderHeight;
  int menuIndex = 0;
  bool isShow = false;
  bool isShowHideAnimation = false;
  // DropDownType dropDownType;

  void show(int index) {
    isShow = true;
    menuIndex = index;
    notifyListeners();
  }

  // void show() {
  //   isShow = true;
  //   // menuIndex = index;
  //   notifyListeners();
  // }

  void hide({bool isShowHideAnimation = true}) {
    this.isShowHideAnimation = isShowHideAnimation;
    isShow = false;
    notifyListeners();
  }
}
